package com.csaba.connector.service;

import com.csaba.connector.BankService;

/**
 * Use this service to change various password types. You can find constant values
 * for password type definitions. To implement this service use AbstractChangePasswordService
 * class as base class for convinient purposes.
 * 
 * @author Gabe
 *
 */
public interface ChangePasswordService extends BankService
{
	final static String PERMISSION = "com.csaba.permission.ChangePassword";

	/**
	 * Password type: Login password.
	 */
	final static String PT_LOGIN = "L";
	/**
	 * Password type: transaction signing password.
	 */
	final static String PT_TRANSACTION_SIGN = "T";

	void setPasswordType( String passwordType );

	void setOldPassword( String oldPassword );

	void setNewPassword( String newPassword );
}
